package com.shiwaixiangcun.customer.module.houserenting;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.shiwaixiangcun.customer.R;

import java.util.List;

/**
 * Author   Administrator
 * Date     2018/1/31
 * Desc     eg
 */

public class AdapterSurvey extends BaseQuickAdapter<HouseDescription, BaseViewHolder> {
    public AdapterSurvey(@Nullable List<HouseDescription> data) {
        super(R.layout.item_house_description, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HouseDescription item) {
        helper.setText(R.id.tv_key, item.getKey() + ":");
        helper.setText(R.id.tv_v, item.getValue());

    }
}
